package com.king.hpeproject.controller;


import com.king.hpeproject.constant.BaseResponse;
import com.king.hpeproject.controller.base.DeviceBaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * DeviceController 设备控制层
 *
 * @author xxx
 * @since 2025/8/22
 */
@Slf4j
@RestController
@RequestMapping("/system/org/{orgId}/project/{projectId}/device")
public class DeviceController extends DeviceBaseController {

    @GetMapping("")
    public BaseResponse<String> getDeviceInfo(@RequestParam String deviceId) {
        log.info("横向越权通过，deviceId:{}", deviceId);
        return BaseResponse.ok();
    }
}
